package com.data.biz.utils;

public class ServiceException extends RuntimeException {
    private Integer code;

    public Integer getCode() {
        return this.code;
    }

    public ServiceException() {
    }

    public ServiceException(Throwable e) {
        super(e);
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(int code, String message) {
        super(message);
        this.code = code;
    }

    public ServiceException(String message, Throwable e) {
        super(message, e);
    }
}
